<%@ page language="java" contentType="text/html; charset=utf-8"	pageEncoding="utf-8"%>
<%
String contextPath = request.getContextPath(); 
String path = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+contextPath+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
	<!-- <form action="/loving/test" method="post"> -->
	<form action="<%=contextPath %>/index" method="post">
		<div align="center"
			style="position: absolute; margin-top: -100px; top: 50%; width: 100%;">
			<h5>
				账号：<input id="uName" name="uName" type="text">
			</h5>
			<h5>
				密码：<input id="password" name="password" type="password">
			</h5>
			<input type="submit">
		</div>
	</form>
</body>
</html>
